package com.dingpeikeji.quickdeer.core.modules.cupons.entity;

import java.io.Serializable;
import java.util.Date;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.User;


/**
 * 优惠券
 * @author xyd
 *
 */
public class CuponsInfo  extends DataEntity<CuponsInfo> {
	private String cuponsId;
	private String name;//优惠券名
	private String price;//价值
	private String minPrice;//最小满减
	private String limit;//限制张数 0不限
	private String stock;//库存
	private Date timeBegin;//有效期开始时间
	private Date timeOver;//有效期结束时间
	private String isDisable;//1有效 0失效
	private Date createTime;//
	private String dateLimit;//生效延时
	private String instruction;//说明
	private String type;//0满减 1折扣
	
	private String pickNum;//领取人次
	private String useNum;//已使用
	
	private String cuponRecordId;
	private String userId;
	private String way;//领取方式
	private Date pickTime;//领取时间
	private String isUse; //是否使用 0未使用 1已使用
	private Date recordCreateTime;
	
	private String orderId;//使用优惠券的订单号
	private String money;//优惠金额
	private Date useTime;//使用优惠券时间
	private String sid;//AA拼车产品id
	
	private String state;//3已失效 2进行中  1未开始
	private String dateType;//0固定日期 1 当天生效 2次日生效
	
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getDateType() {
		return dateType;
	}
	public void setDateType(String dateType) {
		this.dateType = dateType;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getPickNum() {
		return pickNum;
	}
	public void setPickNum(String pickNum) {
		this.pickNum = pickNum;
	}
	public String getUseNum() {
		return useNum;
	}
	public void setUseNum(String useNum) {
		this.useNum = useNum;
	}
	public String getCuponsId() {
		return cuponsId;
	}
	public void setCuponsId(String cuponsId) {
		this.cuponsId = cuponsId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(String minPrice) {
		this.minPrice = minPrice;
	}
	public String getLimit() {
		return limit;
	}
	public void setLimit(String limit) {
		this.limit = limit;
	}
	public String getStock() {
		return stock;
	}
	public void setStock(String stock) {
		this.stock = stock;
	}
	public Date getTimeBegin() {
		return timeBegin;
	}
	public void setTimeBegin(Date timeBegin) {
		this.timeBegin = timeBegin;
	}
	public Date getTimeOver() {
		return timeOver;
	}
	public void setTimeOver(Date timeOver) {
		this.timeOver = timeOver;
	}
	public String getIsDisable() {
		return isDisable;
	}
	public void setIsDisable(String isDisable) {
		this.isDisable = isDisable;
	}

	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUseTime() {
		return useTime;
	}
	public void setUseTime(Date useTime) {
		this.useTime = useTime;
	}
	public String getDateLimit() {
		return dateLimit;
	}
	public void setDateLimit(String dateLimit) {
		this.dateLimit = dateLimit;
	}
	public String getInstruction() {
		return instruction;
	}
	public void setInstruction(String instruction) {
		this.instruction = instruction;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCuponRecordId() {
		return cuponRecordId;
	}
	public void setCuponRecordId(String cuponRecordId) {
		this.cuponRecordId = cuponRecordId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getWay() {
		return way;
	}
	public void setWay(String way) {
		this.way = way;
	}
	public Date getPickTime() {
		return pickTime;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	
	public void setPickTime(Date pickTime) {
		this.pickTime = pickTime;
	}
	public String getIsUse() {
		return isUse;
	}
	public void setIsUse(String isUse) {
		this.isUse = isUse;
	}
	public Date getRecordCreateTime() {
		return recordCreateTime;
	}
	public void setRecordCreateTime(Date recordCreateTime) {
		this.recordCreateTime = recordCreateTime;
	}
	
	
}
